function Show-InsightParameters {
    param ([Parameter(Mandatory = $true)][LSInsightParameters]$LSInsight)

    # Create hashtable of properties.
    $properties = @{
        'Server' = $LSInsight.Server.FullyQualifiedDomainName
        'Server username' = $LSInsight.Server.Credential.UserName
        'Server password' = "$('*'*$($LSInsight.Server.Credential.Password.Length))"
        'Database' = $LSInsight.Database.Name
    }

    # Display parameters.
    Write-Host # Newline.
    Write-Host "LS Insight parameters for connecting Power BI report to LS Insight DW:"
    Write-Host "$($properties.GetEnumerator() | Sort-Object -Property 'Name' | Format-Table | Out-String)"

}